using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class gameUi : MonoBehaviour
{
    InveotoryManager inveotoryManager;
    public Image daoju;
    public Inveotory inveotory;
    void Start()
    {
        inveotoryManager = InveotoryManager.GetInstance();
    }
    void Update()
    {
        daoju.sprite = inveotory.itemList[inveotory.currentIndex].itemImage;


    }
}
